#version 330 core

layout(location = 0) in vec4 aPos;
layout(location = 1) in vec4 aColor;

uniform mat4 model_matrix;
uniform mat4 projection_matrix;

out vec4 color;

void main()
{
    color = aColor;
    gl_Position = projection_matrix * (model_matrix * aPos);
}

